package com.things8.iot.baseIot.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.things8.iot.baseIot.dao.CustomerInfoMapper;
import com.things8.iot.baseIot.entity.CustomerInfo;
/**
 * @author  yzh
 * @date  2021/5/2 21:24
 * @version 1.0
 */
@Service
public class CustomerInfoService{

    @Resource
    private CustomerInfoMapper customerInfoMapper;

    
    public int deleteByPrimaryKey(Long id) {
        return customerInfoMapper.deleteByPrimaryKey(id);
    }

    
    public int insert(CustomerInfo record) {
        return customerInfoMapper.insert(record);
    }

    
    public int insertSelective(CustomerInfo record) {
        return customerInfoMapper.insertSelective(record);
    }

    
    public CustomerInfo selectByPrimaryKey(Long id) {
        return customerInfoMapper.selectByPrimaryKey(id);
    }

    
    public int updateByPrimaryKeySelective(CustomerInfo record) {
        return customerInfoMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(CustomerInfo record) {
        return customerInfoMapper.updateByPrimaryKey(record);
    }

}
